#pragma once

#include <osg/Node>
#include <osgViewer/View>
#include <QtCore/qglobal.h>

#ifdef VIEWEREVENTLIBDLL
#define VIEWEREVENTAPI Q_DECL_EXPORT
#else
#define VIEWEREVENTAPI  Q_DECL_IMPORT
#endif

class VIEWEREVENTAPI IOsgViewerEvent
{
public:
    virtual void addEventToViewer(osgViewer::View* viewer) = 0;

};


class VIEWEREVENTAPI IOsgViewerEventFactory
{
public:
    IOsgViewerEvent *create(osgViewer::View *view, osg::Group *root);

};
